

#ifndef _SHELL_REQAPPLYFRIEND_MESSAGE_H_
#define _SHELL_REQAPPLYFRIEND_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqApplyFriendMessage : public Message
{
	public:
	ReqApplyFriendMessage();
	~ReqApplyFriendMessage();
	void reset();
	ReqApplyFriendMessage* clone();
	static const int _ID;
	//被申请人id
	int64 toPlayerId;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
